﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace OneCard.Face8280Module.Entities.DbModels
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("AccessEmplDetail")]
    public class AccessEmplDetail
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DetailID", IsPrimaryKey = true, IsIdentity = true)]
        public int DetailID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PersonnelID", IsPrimaryKey = true)]
        public int PersonnelID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "EquptID", IsPrimaryKey = true)]
        public int EquptID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PermitTime")]
        public decimal PermitTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "TimePieceIndex")]
        public byte TimePieceIndex { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ReadCount")]
        public int ReadCount { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CardMode")]
        public byte CardMode { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "HldEnabled")]
        public byte HldEnabled { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "HldPwr")]
        public byte[] HldPwr { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "isUpload")]
        public byte IsUpload { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "isUpdate")]
        public byte IsUpdate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "isDelete")]
        public byte IsDelete { get; set; }

        [SugarColumn(ColumnName = "UploadResult")]
        public int? UploadResult { get; set; }

        [SugarColumn(ColumnName = "UploadRepetitionPCode")]
        public long? UploadRepetitionPCode { get; set; }

        [SugarColumn(ColumnName = "UploadTime")]
        public DateTime? UploadTime { get; set; }
    }
}
